#ifndef __BLE_H_
#define __BLE_H_
#include "stm32f4xx_hal.h"

#define RX_LEN2 128
typedef struct {
	uint32_t RX_Size;          //receive length
	uint8_t RX_pData[RX_LEN2]; //DMA receive buffer
} USART2_RECEIVETYPE;
extern USART2_RECEIVETYPE UsartType2;

void UART_RxIdleCallback2(UART_HandleTypeDef *huart);
void ble_rx_deal(USART2_RECEIVETYPE *data);

#endif
